//
//  ProductDetailBottomView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/21.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, ProductDetailBottomActionType) {
    //im
    ProductDetailBottomActionType_im,
    //去购物车
    ProductDetailBottomActionType_goCart,
    //添加购物车
    ProductDetailBottomActionType_addCart,
    //购买
    ProductDetailBottomActionType_buy,
};

@interface ProductDetailBottomView : UIView


@property (weak, nonatomic) IBOutlet UIButton *addCartBtn;

@property (weak, nonatomic) IBOutlet UIButton *buyBtn;

@property (weak, nonatomic) IBOutlet UIView *imControl;

@property (weak, nonatomic) IBOutlet UIView *cartControl;

@property (nonatomic, copy) void(^ProductDetailBottomViewBlock )(ProductDetailBottomActionType actionType);

@end

NS_ASSUME_NONNULL_END
